﻿<Window x:Class="CECB.ProjectActivities_Window"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="CECB - ProjectActivities"     x:Name="Window"
        Width="480" Height="350"
        WindowStartupLocation="CenterScreen" WindowState="Normal" ResizeMode="NoResize" Icon="/Images/cecb1.ico" xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon">
    
    <Window.Background>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop Color="#FF144BC7" Offset="0" />
            <GradientStop Color="#FFB2FCFC" Offset="1" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid>
        <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center" Margin="36,0,54,0" Width="400" Height="300">
            <WrapPanel VerticalAlignment="Top" Height="50">
                <Label Content="Add Project Activities" Height="50" Width="auto" HorizontalAlignment="Center" Margin="10,0,0,0"  VerticalAlignment="Center"  FontSize="20" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <ComboBox Height="28" HorizontalAlignment="Left" Margin="250,7,0,0" Name="comboBox_ProjectName" VerticalAlignment="Top" Width="120"  DisplayMemberPath="Project_Name" SelectedValuePath="Project_Reference" DropDownOpened="comboBox_ProjectName_DropDownOpened" SelectionChanged="comboBox_ProjectName_SelectionChanged" FontSize="14" />
                <Label Content="Project Name" Height="28" Name="label1" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White"/>
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <Label Height="28" HorizontalAlignment="Left" Margin="250,7,0,0" Name="label_ProjectReference" VerticalAlignment="Top" Width="120" FontSize="14" />
                <Label Content="Project Reference" Height="28" Name="label2" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White"/>
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <Label Height="28" HorizontalAlignment="Left" Margin="250,7,0,0" Name="label_ProjectCat" VerticalAlignment="Top" Width="120" FontSize="14" />
                <Label Content="Project Category" Height="28" Name="label3" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White"/>
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <ComboBox Height="28" HorizontalAlignment="Left" Margin="250,7,0,0" Name="comboBox_ProjectPhase" VerticalAlignment="Top" Width="120" ItemsSource="{Binding}" FontSize="14">
                    <ComboBoxItem Content="Phase 1" />
                    <ComboBoxItem Content="Phase 2" />
                    <ComboBoxItem Content="Phase 3" />
                    <ComboBoxItem Content="Phase 4" />
                </ComboBox>
                <Label Content="Project Phase" Height="28" Name="label4" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="28" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_ProjectAct" VerticalAlignment="Top" Width="120" FontSize="14" />
                <Label Content="Project Activities" Height="28" Name="label5" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White"/>
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top" Height="auto" Orientation="Horizontal">
                <StackPanel Orientation="Horizontal" Margin="190,0,0,0">
                    <Button Background="{x:Null}" BorderBrush="{x:Null}" Click="SaveButton_Click" Height="44" Margin="2,0" Name="SaveButton" Width="98">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Grid.Column="0" Height="32" Margin="2" Source="images\save.png" Width="32" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                                <TextBlock Margin="0" Padding="0" Text="Save" TextWrapping="NoWrap" />
                            </StackPanel>
                        </Grid>
                    </Button>
                    <Button Background="{x:Null}" BorderBrush="{x:Null}" Click="CloseButton_Click" Height="44" Margin="2,0" Name="CloseButton" Width="98">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                            </Grid.ColumnDefinitions>
                            <Image Grid.Column="0" Height="32" Margin="2" Source="images\close.png" Width="32" />
                            <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                                <TextBlock Margin="0" Padding="0" Text="Close" TextWrapping="NoWrap" />
                            </StackPanel>
                        </Grid>
                    </Button>
                </StackPanel>
            </WrapPanel>
        </StackPanel>
    </Grid>
</Window>
